home *** CD-ROM | disk | FTP | other *** search
/ Paparazzi!: Tales of Tinseltown / Paparazzi - Tales of Tinseltown (1995)(Activision)(Disc 1 of 2).iso / pprazia2.dir / 01525_Script_Generic Camera Exit Script < prev    next >
Text File  |  1995-05-21  |  466b  |  22 lines

  1. on exitFrame
  2.   global length, snap1, snap2, theMovieName, gtheDay
  3.   if the movieTime of sprite 48 > length then
  4.     puppetsprite 48, false
  5.     
  6.     set the sound of cast theMovieName to 0
  7.     if snap1 = 0 and snap2 = 0 then
  8.       updatestage
  9.       puppetsound 0
  10.       go frame gtheDay & "NoShots"
  11.       exit
  12.     else
  13.       puppetsound 0
  14.       updatestage
  15.       go frame "Darkroom"
  16.       exit
  17.     end if
  18.   else
  19.     go to the frame
  20.   end if
  21.   
  22. end